package main

import "fmt"

// 赋值运算符  = += -= *= /=  %=
func main() {

	var a int8 = 10
	var a1 int8
	a1 += a

	fmt.Println("a1=", a1)

	var b1 float32
	b1 += 6
	fmt.Println("b1=", b1)

	x := 5
	y := 6
	fmt.Println("x=", x, "y=", y)
	t := x
	x = y
	y = t
	fmt.Println("x=", x, "y=", y)

	var x1 int64
	x1 = 8 + 2*7
	fmt.Println("x1", x1)
}
